//
//  HEFilterBottomView.h
//  HealthFamily
//
//  Created by 吴欧 on 2020/11/2.
//  Copyright © 2020 honglutec. All rights reserved.
//

#import <UIKit/UIKit.h>

NS_ASSUME_NONNULL_BEGIN


#define kBaseSetHEXColor(rgbValue,al) ([UIColor colorWithRed:((float)((rgbValue & 0xFF0000) >> 16))/255.0 green:((float)((rgbValue & 0xFF00) >> 8))/255.0 blue:((float)(rgbValue & 0xFF))/255.0 alpha:(al)])

#define KTableViewCellHeight 44

#define kSetHEXColor(rgbValue) kBaseSetHEXColor(rgbValue,1)

#define KTitleColor          kSetHEXColor(0x333333)
#define KTitleSelectedColor  kSetHEXColor(0x3072F5)
#define KLineColor           kSetHEXColor(0xe8e8e8)//分割线
#define KItemBGColor         kSetHEXColor(0xf5f5f5)
#define KItemBGSelectedColor kSetHEXColor(0xeef6ff)

@interface HEFilterBottomView : UIView

@property (nonatomic, strong) UIButton * _Nonnull resetButton;
@property (nonatomic, strong) UIButton * _Nonnull confirmButton;
@property (nonatomic, strong) UIView * _Nonnull lineView;

/** 快速初始化 */
- (instancetype _Nonnull )initBottomViewWithTarget:(id  _Nonnull )target
                                       resetAction:(SEL _Nonnull )resetAction
                                     confirmAction:(SEL _Nonnull )confirmAction;

@end

NS_ASSUME_NONNULL_END
